﻿using System;

namespace Aeon.Framework
{

/// <summary>
/// Static helper class for material creation and reference.
/// Contains a collection of material properties, usable directly or through a text string.
/// 
/// Does not provide colors or textures for the material.
/// 
/// </summary>
public static class AeonMaterials
    {
    // --- Properties:
    
    public static AeonMaterial Default { get { return(new AeonMaterial(0,new AeonColor(0.2f,0.2f,0.2f,1),new AeonColor(0.8f,0.8f,0.8f,1),new AeonColor(0,0,0,1),new AeonColor(0,0,0,1),true)); } }

    // [TODO] More materials. Metal? Plastic? Cloth? Skin?
    
    // --- Public Methods:

    public static AeonMaterial FromText(String name)
        {
        name.ToLower();
        AeonMaterial material;

        switch(name)
            {
            default: material = AeonMaterials.Default; break;

            // [TODO] Incomplete.
            }

        return(material);
        }

    }
    

}
